import request from "@/utils/request";

export function bookList(params){     //小说列表
    return request({
        url:"/fiction/list",
        method:"GET",
        params
    })
}

export function getCategory(){      //获取分类
    return request({
        url:"/fiction/queryData",
        method:"GET"
    })
}

export default {
    bookList,
    getCategory,

}